<!DOCTYPE html>
<html>
<head>
  <title>Bootstrap 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="{{asset('js/vue.js')}}"></script>
</head>
<body>

  <!-- banner -->
  <div class="jumbotron text-center">
    <h1>新闻快报</h1>
    <p>Jenny xu</p> 
  </div>
  <div class="container">
    <div class="row">
   


  <div class="col-sm-12" style="padding-bottom:  20px;height: 250px;">
  <nav class="breadcrumb">
  <a class="breadcrumb-item" href="/">首页</a>
  <a class="breadcrumb-item" href="#">新闻详情</a>
</nav>
       <div class="card">

        <div class="card-header"> <h3>新闻</h3></div>

        <div class="card-body"> 
         
          @foreach ($view as $view)
          <h3 style="text-align: center; "> <strong > 标题：{{$view -> title}}<br></strong> </h3>
          <span style="text-align: center; "><p >时间：{{$view -> time}}</p><p>编辑：{{$view -> writer}}</p></span>
            内容：{{$view-> content }}
              @endforeach
            
            



        </div>
      </div>
    </div>

  </div>
</div>


<!--  <div class="row">
    <div class="col-md-4" style="padding-bottom:  20px">
       
  <div class="card">
    <div class="card-header">最新留言 <small>共计 条</small></div>
    <div class="card-body"> 
      </div>
        </div>
</div>
-->
<!-- <div class="container">
     <div class="content">
         <div id="myapp">
             <p>@{{ message }}</p>
         </div>
     </div>
   </div> -->
<!-- <script>
    var myapp = new Vue({

    el: '.row',
    data: {
        message:'hello21515'
    }    
    });
  </script>  -->
  <!-- footer -->

</body>
</html>